<script lang="ts" setup>
import { getLocalStorage } from '@/assets/utils/utils'

const router = useRouter()
if (!getLocalStorage('token')) {
    router.replace('/login')
}
</script>

<template>
    <router-view />
</template>

<style>
* {
    -moz-user-select: none; /* Firefox */
    -webkit-user-select: none; /* WebKit内核 */
    -ms-user-select: none; /* IE10及以后 */
    user-select: none; /* CSS3属性 */
}
</style>
